package com.zld.smarket.service.serviceImpl;

import com.zld.smarket.dao.RoleMapper;
import com.zld.smarket.pojo.Role;
import com.zld.smarket.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;

    @Override
    public Role selectrole(Long i) {
        return roleMapper.selectRole(i);
    }
}
